package com.tz.farmer.so;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BusinessInfoSo implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商户法人姓名")
    private String businessPersonName;

    @ApiModelProperty(value = "商户名称")
    private String businessName;

    @ApiModelProperty(value = "社会统一代码")
    private String uniscId;

    @ApiModelProperty(value = "商户地址")
    private String businessAddress;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "扫码次数")
    private Integer scanNum;

    @ApiModelProperty(value = "农 渔属性码331001 渔,331002 农")
    private String property;

    @ApiModelProperty(value = "当日访问次数")
    private Integer visitCount;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "邮编")
    private Integer zipCode;

    @ApiModelProperty(value = "软删除")
    private Integer isDelete;

    @ApiModelProperty(value = "规模")
    private String scale;

    @ApiModelProperty(value = "主导产品")
    private String LeadingProduct;

    @ApiModelProperty(value = "区县")
    private String city;

    /**
     * 列表接收参数
     */
    private String startTime;
    private String endTime;
    private String keyword;
    private String nameorphone;
    //private String businessAddress; 这个也是搜索的条件
    private Integer currentPage;
    private Integer pageSize;



}